package shopping;
import java.util.ArrayList;

public class User {
		String name;
		String  account;
		Cargoods Cart;
		shoppcar shopcart;
		static ArrayList<User> userlist=new ArrayList();
	
		public User(String name,String account) {
			this.name=name;
			this.account=account;
			userlist.add(this);
    	
		}
		ArrayList<Cargoods> cart = new ArrayList();

		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public String getAccount() {
			return account;
		}
		public void setAccount(String account) {
			this.account = account;
		}
		public Cargoods getCart() {
			return Cart;
		}
		public void setCart(Cargoods cart) {
			Cart = cart;
		}
		public shoppcar getShopcart() {
			return shopcart;
		}
		public void setShopcart(shoppcar shopcart) {
			this.shopcart = shopcart;
		}
}

